package com.vertigo.fever;

import javax.microedition.khronos.opengles.GL10;

public class Camera {

	Vector pos;
	Vector ori = new Vector(0,-4,-6);
	Vector offset = new Vector(0,0,0);
	
	public Camera (Vector position) {
		pos = position;
	}
	
	public void translateToOigin(GL10 gl) {
		gl.glTranslatef(ori.x, ori.y, ori.z);
	}
	
	public void translate(GL10 gl) {
		gl.glTranslatef(pos.x, pos.y, pos.z);
		gl.glTranslatef(offset.x, offset.y, offset.z);
	}
}
